//package com.example.workrecord.util.dingtalkopenapi.microapp;
//
//import com.alibaba.fastjson.JSONObject;
//import com.example.workrecord.system.openapi.dingtalkopenapi.utils.HttpUtil;
//import com.example.workrecord.system.openapi.dingtalkopenapi.utils.JsonUtils;
//
//import java.util.Map;
//
//public class MicroappHelper {
//    /**
//     * 应用权限范围设置
//     * @param accessToken
//     * @param obj
//     * @return
//     * @throws Exception
//     */
//    public static Map<String, Object> setVisibleScopes(String accessToken, JSONObject obj) throws Exception {
//        String url = "https://oapi.dingtalk.com/microapp/set_visible_scopes?access_token=" + accessToken;
//        String strResult = HttpUtil.doPost(url, obj);
//        Map<String, Object> result = JsonUtils.getMap(strResult);
//        return result;
//
//    }
//}
